package com.qf.myshop.dao;

import com.qf.myshop.entity.Product;

import java.sql.SQLException;
import java.util.List;

public interface ProductDAO {
    long count(int ntid) throws SQLException;

    List<Product> findAll(int ntid, int skip, int pageSize) throws SQLException;

    Product findById(int npid) throws SQLException;
}
